package com.ozo.cloud.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ozo.cloud.manage.entity.SysRolePermissionRel;

import java.util.List;

/**
 * <p>
 * 角色权限关系 服务类
 * </p>
 *
 * @author qiangesoft
 * @since 2024-07-11
 */
public interface ISysRolePermissionRelService extends IService<SysRolePermissionRel> {

    /**
     * 查询角色菜单
     *
     * @param roleId
     * @return
     */
    List<Long> getPermissionIdListByRoleId(Long roleId);

    /**
     * 查询角色菜单
     *
     * @param roleIdList
     * @return
     */
    List<Long> getPermissionIdListByRoleIdList(List<Long> roleIdList);

}
